export default {
  cartCount(state) {
    return state.cart.reduce((total, item) => {
      // eslint-disable-next-line
      total += item.count;
      return total;
    }, 0);
  },
};
